import request from "@/utils/request";

// 查询渠道比例列表

export function proportionList(query) {
  return request({
    url: `/report/proportion/list`,
    method: "post",
    data: query,
  });
}
//设置渠道比例
export function proportionSave(data) {
  return request({
    url: "/report/proportion/save",
    method: "post",
    data: data,
  });
}
//查询历史

export function historyList(data) {
  return request({
    url: `/report/proportion/historyList/`,
    method: "post",
    data:data
  });
}
//获取品牌详情

export function proportionDetails(data) {
  return request({
    url: `/report/proportion/${data}`,
    method: "get",
  });
}
